5.3
MEDIUM CVSS 3.1
CVE-2024-38587
speakup: Fix sizeof() vs ARRAY_SIZE() bug
Description

In the Linux kernel, the following vulnerability has been resolved: speakup: Fix sizeof() vs ARRAY_SIZE() bug The "buf" pointer is an array of u16 values. This code should be using ARRAY_SIZE() (which is 256) instead of sizeof() (which is 512), otherwise it can the still got out of bounds.

INFO

Published Date :

June 19, 2024, 2:15 p.m.

Last Modified :

Nov. 4, 2025, 6:16 p.m.

Remotely Exploit :

Yes !

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2024-38587 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
This vulnerability in the Linux kernel requires an update to resolve the out-of-bounds write issue.
  • Update the Linux kernel to a non-vulnerable version.
  • Reboot the system after the kernel update.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-38587.

URL Resource
https://git.kernel.org/stable/c/008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b Patch
https://git.kernel.org/stable/c/07ef95cc7a579731198c93beed281e3a79a0e586 Patch
https://git.kernel.org/stable/c/3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e Patch
https://git.kernel.org/stable/c/42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358 Patch
https://git.kernel.org/stable/c/504178fb7d9f6cdb0496d5491efb05f45597e535 Patch
https://git.kernel.org/stable/c/c6e1650cf5df1bd6638eeee231a683ef30c7d4eb Patch
https://git.kernel.org/stable/c/cd7f3978c2ec741aedd1d860b2adb227314cf996 Patch
https://git.kernel.org/stable/c/d52c04474feac8e305814a5228e622afe481b2ef Patch
https://git.kernel.org/stable/c/eb1ea64328d4cc7d7a912c563f8523d5259716ef Patch
https://git.kernel.org/stable/c/008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b Patch
https://git.kernel.org/stable/c/07ef95cc7a579731198c93beed281e3a79a0e586 Patch
https://git.kernel.org/stable/c/3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e Patch
https://git.kernel.org/stable/c/42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358 Patch
https://git.kernel.org/stable/c/504178fb7d9f6cdb0496d5491efb05f45597e535 Patch
https://git.kernel.org/stable/c/c6e1650cf5df1bd6638eeee231a683ef30c7d4eb Patch
https://git.kernel.org/stable/c/cd7f3978c2ec741aedd1d860b2adb227314cf996 Patch
https://git.kernel.org/stable/c/d52c04474feac8e305814a5228e622afe481b2ef Patch
https://git.kernel.org/stable/c/eb1ea64328d4cc7d7a912c563f8523d5259716ef Patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-38587 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-38587 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-38587 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-38587 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 04, 2025

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
  • Initial Analysis by [email protected]

    Apr. 04, 2025

    Action Type Old Value New Value
    Added CWE CWE-129
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (excluding) 6.9.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.19.313 up to (excluding) 4.19.316 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10.216 up to (excluding) 5.10.219 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15.157 up to (excluding) 5.15.161 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4.275 up to (excluding) 5.4.278 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1.88 up to (excluding) 6.1.93 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6.29 up to (excluding) 6.6.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.8.8 up to (excluding) 6.8.12
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/07ef95cc7a579731198c93beed281e3a79a0e586 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/07ef95cc7a579731198c93beed281e3a79a0e586 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/504178fb7d9f6cdb0496d5491efb05f45597e535 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/504178fb7d9f6cdb0496d5491efb05f45597e535 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/c6e1650cf5df1bd6638eeee231a683ef30c7d4eb Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/c6e1650cf5df1bd6638eeee231a683ef30c7d4eb Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/cd7f3978c2ec741aedd1d860b2adb227314cf996 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/cd7f3978c2ec741aedd1d860b2adb227314cf996 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d52c04474feac8e305814a5228e622afe481b2ef Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/d52c04474feac8e305814a5228e622afe481b2ef Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/eb1ea64328d4cc7d7a912c563f8523d5259716ef Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/eb1ea64328d4cc7d7a912c563f8523d5259716ef Types: Patch
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b
    Added Reference https://git.kernel.org/stable/c/07ef95cc7a579731198c93beed281e3a79a0e586
    Added Reference https://git.kernel.org/stable/c/3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e
    Added Reference https://git.kernel.org/stable/c/42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358
    Added Reference https://git.kernel.org/stable/c/504178fb7d9f6cdb0496d5491efb05f45597e535
    Added Reference https://git.kernel.org/stable/c/c6e1650cf5df1bd6638eeee231a683ef30c7d4eb
    Added Reference https://git.kernel.org/stable/c/cd7f3978c2ec741aedd1d860b2adb227314cf996
    Added Reference https://git.kernel.org/stable/c/d52c04474feac8e305814a5228e622afe481b2ef
    Added Reference https://git.kernel.org/stable/c/eb1ea64328d4cc7d7a912c563f8523d5259716ef
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Nov. 04, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 15, 2024

    Action Type Old Value New Value
    Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 27, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned]
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 19, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: speakup: Fix sizeof() vs ARRAY_SIZE() bug The "buf" pointer is an array of u16 values. This code should be using ARRAY_SIZE() (which is 256) instead of sizeof() (which is 512), otherwise it can the still got out of bounds.
    Added Reference kernel.org https://git.kernel.org/stable/c/42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/cd7f3978c2ec741aedd1d860b2adb227314cf996 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/07ef95cc7a579731198c93beed281e3a79a0e586 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/504178fb7d9f6cdb0496d5491efb05f45597e535 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/c6e1650cf5df1bd6638eeee231a683ef30c7d4eb [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/eb1ea64328d4cc7d7a912c563f8523d5259716ef [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/d52c04474feac8e305814a5228e622afe481b2ef [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact